package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.QZxjkMapper;
import com.ruoyi.system.domain.QZxjk;
import com.ruoyi.system.service.IQZxjkService;
import com.ruoyi.common.core.text.Convert;

/**
 * 坐席监控Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-06-27
 */
@Service
public class QZxjkServiceImpl implements IQZxjkService 
{
    @Autowired
    private QZxjkMapper qZxjkMapper;

    /**
     * 查询坐席监控
     * 
     * @param zxjkId 坐席监控主键
     * @return 坐席监控
     */
    @Override
    public QZxjk selectQZxjkByZxjkId(Long zxjkId)
    {
        return qZxjkMapper.selectQZxjkByZxjkId(zxjkId);
    }

    /**
     * 查询坐席监控列表
     * 
     * @param qZxjk 坐席监控
     * @return 坐席监控
     */
    @Override
    public List<QZxjk> selectQZxjkList(QZxjk qZxjk)
    {
        return qZxjkMapper.selectQZxjkList(qZxjk);
    }

    /**
     * 新增坐席监控
     * 
     * @param qZxjk 坐席监控
     * @return 结果
     */
    @Override
    public int insertQZxjk(QZxjk qZxjk)
    {
        return qZxjkMapper.insertQZxjk(qZxjk);
    }

    /**
     * 修改坐席监控
     * 
     * @param qZxjk 坐席监控
     * @return 结果
     */
    @Override
    public int updateQZxjk(QZxjk qZxjk)
    {
        return qZxjkMapper.updateQZxjk(qZxjk);
    }

    /**
     * 批量删除坐席监控
     * 
     * @param zxjkIds 需要删除的坐席监控主键
     * @return 结果
     */
    @Override
    public int deleteQZxjkByZxjkIds(String zxjkIds)
    {
        return qZxjkMapper.deleteQZxjkByZxjkIds(Convert.toStrArray(zxjkIds));
    }

    /**
     * 删除坐席监控信息
     * 
     * @param zxjkId 坐席监控主键
     * @return 结果
     */
    @Override
    public int deleteQZxjkByZxjkId(Long zxjkId)
    {
        return qZxjkMapper.deleteQZxjkByZxjkId(zxjkId);
    }
}
